<?php
require("../IncludeManager.php");
using("Libs_Catalog");
using("Tests_Databases_Catalog");
using("Tests_Files_Catalog");
get(Libs_Catalog::fetch("simpletest/unit_tester"));
get(Libs_Catalog::fetch("simpletest/reporter"));
using("Tests_Manager");


/**
 * ADODB Tests
 */
$adoTests = new Tests_Manager('Junction ADODB Tests');
$adoTests->addTestDirectory("db/adodb");
$adoTests->run(new HtmlReporter());

/**
 * PDO Tests
 */
$pdoTests = new Tests_Manager('Junction PDO Tests');
$pdoTests->addTestDirectory("db/pdo");
$pdoTests->run(new HtmlReporter());

/**
 * Utils tests
 */
$utilsTests = new Tests_Manager('Junction Utils Tests');
$utilsTests->addTestDirectory("utils");
$utilsTests->addTestDirectory("utils/xml");
$utilsTests->run(new HtmlReporter());
?>